from django.contrib import admin

from feedbacks.models import Feedback


# Register your models here.
@admin.register(Feedback)
class FeedbackAdmin(admin.ModelAdmin):
    list_display = ['title', 'file', 'sender', 'created']
    list_filter = ['created', 'file']
    search_fields = ['title', 'content']
    readonly_fields = ['created']